import request from '@/util/axios'
import apiUrl from '../apiUrlConfig'

// 线路列表接口
export const getLinePage = (option) =>
request({
    url: apiUrl.Url_getLinePage,
    data: option,
    method: 'post'
})
// 新增线路
export const addLine = (option) =>
request({
    url: apiUrl.Url_addLine,
    data: option,
    method: 'post'
})
// 删除线路 
export const deleteLine = (option) =>
request({
    url: apiUrl.Url_deleteLine,
    method: 'post',
    params: option
})

// 获取线路节点列表
export const getAllCompanyWithoutSelect = (option) =>
request({
    url: apiUrl.Url_getAllCompanyWithoutSelect,
    data: option,
    method: 'post',
    
})
